package com.cloud.shopping.search.service;

import com.cloud.shopping.search.model.SeckillGoodsEs;

import java.util.List;

/**
 * @author John.Zhang
 * @version Id: SeckillGoodsSearchService, v 0.1 2021/1/8 11:28 ZhiYong Exp $
 */
public interface SeckillGoodsSearchService {

    /**
     * 秒杀商品导入索引库
     * @param seckillGoodsEs seckillGoodsEs
     */
    void add(SeckillGoodsEs seckillGoodsEs);


    /**
     * 根据活动ID搜索
     * @param acid acid
     * @return List
     */
    List<SeckillGoodsEs> search(String acid);
}
